package com.bdmc.device.domain.bo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.bdmc.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;
/**
 * gps设备在线记录业务对象 dev_online_record
 *
 * @author bdmc
 * @date 2022-03-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DevOnlineRecordBo extends BaseEntity {

    /**
     * 
     */
    private Long onlineRecordId;

    /**
     * 
     */
    private Long deviceId;

    /**
     * 
     */
    private String devicePhoneNum;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**
     * 
     */
    private Integer onlineState;


}
